package cn.minhx.lab.design_patterns.bridge.f2.pay.channel;

import cn.minhx.lab.design_patterns.bridge.f2.pay.mode.IPayMode;

import java.math.BigDecimal;

public abstract class Pay {

//    protected Logger logger = LoggerFactory.getLogger(Pay.class);

    protected IPayMode payMode;

    public Pay(IPayMode payMode) {
        this.payMode = payMode;
    }

    public abstract String doPay(String uId, String tradeId, BigDecimal amount);

}